package mspbots.tsheets.business.core.sysuser;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "sys_user_mapping")
public class SysUserMapping implements Serializable {
    public static final String USER_TYPE_TEAMS = "1";
    public static final String USER_TYPE_CW = "2";
    public static final String USER_TYPE_TSHEET = "3";
    public static final String USER_TYPE_TIMEDOCTOR = "4";
    public static final String USER_TYPE_AUTOTASK = "5";
    @Id
    protected Long id;
    private Long tenantCode;
    private Long userId;
    private String userType;
    private String mappingUserId;
    private LocalDateTime updateDate;
    private Long creator;
    private LocalDateTime createDate;

}
